package com.zycfc.zsf.boot.util.json;

import com.zycfc.zsf.boot.util.common.*;

public enum GsonErrCdEnum implements AbstractEnum<String>
{
    SUCCESS("000000", "\u6210\u529f"), 
    FAIL("000001", "\u5931\u8d25"), 
    KEYI("000002", "\u53ef\u7591"), 
    TIMEOUT("000003", "\u8d85\u65f6");
    
    private String value;
    private String displayName;
    
    private GsonErrCdEnum(final String value, final String displayName) {
        this.value = value;
        this.displayName = displayName;
    }
    
    @Override
    public String getValue() {
        return this.value;
    }
    
    @Override
    public String getMessage() {
        return this.displayName;
    }
}
